package com.derek.omeshopping.bean.mine;/**
 * Created by ThinkPad on 2016/10/18.
 */

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 作者：ThinkPad on 2016/10/18 20:25
 * 邮箱：212740182@qq.com
 */
public class RequestHeader implements Serializable{
        private static final long serialVersionUID = 1L;
        @SerializedName("CustNo")
        private String custNo;
        @SerializedName("DeviceId")
        private String deviceId;
        @SerializedName("DeviceToken")
        private String deviceToken;
        @SerializedName("Idfa")
        private String idfa;
        @SerializedName("MacAddress")
        private String macAddress;
        @SerializedName("Model")
        private String model;
        @SerializedName("MsaleCode")
        private String msaleCode;
        @SerializedName("MsaleDCode")
        private String msaleDCode;
        @SerializedName("MsaleGb")
        private String msaleGb;
        @SerializedName("MsaleTunn")
        private String msaleTunn;
        @SerializedName("Origin")
        private String origin;
        @SerializedName("QrToken")
        private String qrToken;
        @SerializedName("Resize")
        private String resize;
        @SerializedName("Resolution")
        private int[] resolution;
        @SerializedName("ServiceID")
        private String serviceID;
        @SerializedName("ShowStat")
        private String showStat;
        @SerializedName("Sign")
        private String sign;
        @SerializedName("Token")
        private String token;
        @SerializedName("Uuid")
        private String uuid;
        @SerializedName("Version")
        private String version;

    public String getCustNo()
    {
        return this.custNo;
    }

    public String getDeviceId()
    {
        return this.deviceId;
    }

    public String getDeviceToken()
    {
        return this.deviceToken;
    }

    public String getIdfa()
    {
        return this.idfa;
    }

    public String getMacAddress()
    {
        return this.macAddress;
    }

    public String getModel()
    {
        return this.model;
    }

    public String getMsaleCode()
    {
        if ((this.msaleCode != null) && ("ocj".equals(this.msaleCode.toLowerCase()))) {
            return "I2JM";
        }
        return this.msaleCode;
    }

    public String getMsaleDCode()
    {
        return this.msaleDCode;
    }

    public String getMsaleGb()
    {
        return this.msaleGb;
    }

    public String getMsaleTunn()
    {
        return this.msaleTunn;
    }

    public String getOrigin()
    {
        return this.origin;
    }

    public String getQrToken()
    {
        return this.qrToken;
    }

    public String getResize()
    {
        return this.resize;
    }

    public int[] getResolution()
    {
        return this.resolution;
    }

    public String getServiceID()
    {
        return this.serviceID;
    }

    public String getShowStat()
    {
        return this.showStat;
    }

    public String getSign()
    {
        return this.sign;
    }

    public String getToken()
    {
        return this.token;
    }

    public String getUuid()
    {
        return this.uuid;
    }

    public String getVersion()
    {
        return this.version;
    }

    public void setCustNo(String paramString)
    {
        this.custNo = paramString;
    }

    public void setDeviceId(String paramString)
    {
        this.deviceId = paramString;
    }

    public void setDeviceToken(String paramString)
    {
        this.deviceToken = paramString;
    }

    public void setIdfa(String paramString)
    {
        this.idfa = paramString;
    }

    public void setMacAddress(String paramString)
    {
        this.macAddress = paramString;
    }

    public void setModel(String paramString)
    {
        this.model = paramString;
    }

    public void setMsaleCode(String paramString)
    {
        this.msaleCode = paramString;
    }

    public void setMsaleDCode(String paramString)
    {
        this.msaleDCode = paramString;
    }

    public void setMsaleGb(String paramString)
    {
        this.msaleGb = paramString;
    }

    public void setMsaleTunn(String paramString)
    {
        this.msaleTunn = paramString;
    }

    public void setOrigin(String paramString)
    {
        this.origin = paramString;
    }

    public void setQrToken(String paramString)
    {
        this.qrToken = paramString;
    }

    public void setResize(String paramString)
    {
        this.resize = paramString;
    }

    public void setResolution(int[] paramArrayOfInt)
    {
        this.resolution = paramArrayOfInt;
    }

    public void setServiceID(String paramString)
    {
        this.serviceID = paramString;
    }

    public void setShowStat(String paramString)
    {
        this.showStat = paramString;
    }

    public void setSign(String paramString)
    {
        this.sign = paramString;
    }

    public void setToken(String paramString)
    {
        this.token = paramString;
    }

    public void setUuid(String paramString)
    {
        this.uuid = paramString;
    }

    public void setVersion(String paramString)
    {
        this.version = paramString;
    }

    public String toString()
    {
        StringBuffer localStringBuffer = new StringBuffer();
        if (this.token != null) {
            localStringBuffer.append("&Token=").append(this.token);
        }
        if (this.custNo != null) {
            localStringBuffer.append("&CustNo=").append(this.custNo);
        }
        if (this.msaleTunn != null) {
            localStringBuffer.append("&MsaleTunn=").append(this.msaleTunn);
        }
        if (this.msaleGb != null) {
            localStringBuffer.append("&MsaleGb=").append(this.msaleGb);
        }
        if (this.msaleCode != null) {
            localStringBuffer.append("&MsaleCode=").append(this.msaleCode);
        }
        if (this.msaleDCode != null) {
            localStringBuffer.append("&MsaleDCode=").append(this.msaleDCode);
        }
        if (this.deviceId != null) {
            localStringBuffer.append("&DeviceId=").append(this.deviceId);
        }
        if (this.model != null) {
            localStringBuffer.append("&Model=").append(this.model);
        }
        if (this.sign != null) {
            localStringBuffer.append("&Sign=").append(this.sign);
        }
        if (this.version != null) {
            localStringBuffer.append("&Version=").append(this.version);
        }
        if (this.showStat != null) {
            localStringBuffer.append("&ShowStat=").append(this.showStat);
        }
        if (this.qrToken != null) {
            localStringBuffer.append("&QrToken=").append(this.qrToken);
        }
        return localStringBuffer.toString();
    }
}
